The <#1157#><TT>contact-display</TT><#1157#> object type defines the fundamental mechanisms for
associating
a contact with a CLX <#1158#><TT>xlib:display</TT><#1158#><A ID="1159"><tex2html_anchor_invisible_mark></A> object and for dispatching
interactive input events to the contacts which will process them.
<P>
A <#1160#><TT>contact-display</TT><#1160#> object inherits the behavior of a CLX <#1161#><TT>display</TT><#1161#> object<A ID="1162"><tex2html_anchor_invisible_mark></A>
and can be substituted wherever a
<#1163#><TT>xlib:display</TT><#1163#> is allowed<A NAME="tex2html147" HREF="#footfnm1" TARGET="footer"><SUP>30.1</SUP></A>. An application will usually create a single <#1165#><TT>contact-display</TT><#1165#> which
represents the connection through which requests are sent to an X server<A ID="1166"><tex2html_anchor_invisible_mark></A> and input events are received.
<P>
The basic operations on a <#1167#><TT>contact-display</TT><#1167#> are listed below and are
described in detail in other
parts of this document.
<UL>
<LI>Read and process an input event (see Section~<A HREF=<tex2html_cr_mark>#ch:event-loop#1169><tex2html_cr_mark></A>).
</LI>
<LI>Read character input from interactive stream contacts (see
The <#1175#><TT>open-contact-display</TT><#1175#> function is used to create a <#1176#><TT>contact-display</TT><#1176#> object and to connect it to an X server.<A ID="1177"><tex2html_anchor_invisible_mark></A>